GUI Help > Fonts > applyFont

applyFont
applyFont handle gadget, handle font

Description:
Sets the font used by the specified gadget to draw its text. When you change the font the gadget will immediately redraw itself.

This command will not affect window gadget's titlebars.

Return Value:


Parameters:
gadget Handle of the gadget whoose font you wish to set.
font Handle of the font you wish to use.
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)